package com.share.constant;

import lombok.Getter;
import lombok.Setter;

/**
 * author:caifan
 * date:2019/11/14
 */
@Getter
public enum SysErrorEnum {

    USERNAME_PASSWORD_ERROR("10001", "用户名或密码错误"),
    USER_NOT_Exists("10002", "用户不存在");

    String code;
    String msg;

    SysErrorEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
